// BWAppController.h -- global controller thingie

#import <Cocoa/Cocoa.h>

@class BWColorset;
@class BWSymbol;

@interface BWAppController : NSObject
{
    NSMutableArray *colorsets;
    NSMutableArray *symbols;
}

- (NSArray *) colorsets;
- (NSArray *) symbols;
- (BWSymbol *) symbolForPackageName: (NSString *) packageName
                           symbolId: (int) symbolId;

- (BWColorset *) colorsetForManufacturerName: (NSString *) name;

- (IBAction) showPreferenceWindow: (id) sender;
- (IBAction) toggleThreadWindow: (id) sender;
- (IBAction) togglePannerWindow: (id) sender;
- (IBAction) toggleSymbolWindow: (id) sender;
- (IBAction) toggleLayerWindow: (id) sender;
- (IBAction) toggleColorKeyWindow: (id) sender;
- (IBAction) toggleGridWindow: (id) sender;
- (IBAction) toggleDocumentInformationWindow: (id) sender;
- (IBAction) showColorKeyWindow: (id) sender;

+ (BWAppController *) globalController;

@end // BWAppController

